package org.crud4j.wicket.markup.html.edit;

import java.io.Serializable;

import org.apache.wicket.model.IModel;
import org.crud4j.core.CrudBean;

public class EditModel implements Serializable {

	private static final long serialVersionUID = 1L;

	private CrudBean bean;

	private IModel browseModel;

	public EditModel(CrudBean bean, IModel browseModel) {
		super();
		this.bean = bean;
		this.browseModel = browseModel;
	}

	public EditModel() {
		super();
	}

	public CrudBean getBean() {
		return bean;
	}

	public void setBean(CrudBean bean) {
		this.bean = bean;
	}

	public IModel getBrowseModel() {
		return browseModel;
	}

	public void setBrowseModel(IModel browseModel) {
		this.browseModel = browseModel;
	}

}
